package servlet.xml.listener;

import javax.servlet.ServletRequestEvent;
import javax.servlet.ServletRequestListener;

/**
 * ServletContextListener、HttpSessionListener、ServletRequestListener。
 */
public class HelloListener implements ServletRequestListener {
    @Override
    public void requestInitialized(ServletRequestEvent sre) {
        System.out.println("HelloListener-ServletRequestListener-requestInitialized");
    }

    @Override
    public void requestDestroyed(ServletRequestEvent sre) {
        System.out.println("HelloListener-ServletRequestListener-requestDestroyed");
    }
}